<!--闪存的提示-->
@if(session()->has('error'))
    <div class="Huialert Huialert-error">{{session('error')}}</div>
@endif
@if(session()->has('success'))
    <div class="Huialert Huialert-success">{{session('success')}}</div>
@endif
<!--表单验证提示-->
@if($errors->any())
    <ul class=" Huialert Huialert-error">
        @foreach($errors->all() as $error)
            <li>{{$error}}</li>
        @endforeach
    </ul>
@endif